package wowmobile;

public class PlayerClass {
    private String classname;
    private int hp;
    private int mana;
    private int defence;
    private int speed;
    private int attack;
    private float threat;

    public PlayerClass(String classname, int hp, int mana, int defence, int speed, int attack, float threat) {
        this.classname = classname;
        this.hp = hp;
        this.mana = mana;
        this.defence = defence;
        this.speed = speed;
        this.attack = attack;
        this.threat = threat;
    }
    
    public PlayerClass(PlayerClass pclass) {
        this.classname = pclass.getClassname();
        this.hp = pclass.getHp();
        this.mana = pclass.getMana();
        this.defence = pclass.getDefence();
        this.speed = pclass.getSpeed();
        this.attack = pclass.getAttack();
        this.threat = pclass.getThreat();
    }

    public float getThreat() {
        return threat;
    }
    
    public int getAttack() {
        return attack;
    }

    public String getClassname() {
        return classname;
    }

    public int getDefence() {
        return defence;
    }

    public int getHp() {
        return hp;
    }

    public int getMana() {
        return mana;
    }

    public int getSpeed() {
        return speed;
    }
}
